import Vue from 'vue'
import Router from 'vue-router'
import SurveyList from '../components/SurveyList.vue'
import Question from '../components/Question.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'survey_list',
      component: SurveyList
    },
    {
      path: '/survey_list/:survey_id/question',
      name: 'survey_question',
      component: Question
    }
  ]
})
